<?php if (!defined('THINK_PATH')) exit();?><style type="text/css">
	.update_tb tr{
		height:30px;
	}
	.label{
		padding:0 5px 0 10px;
	}
	.labels{
		font-size: 12px;
    font-weight: bold;
    color: #0E2D5F;
    height: 16px;
	}
	/* 上传btn修改样式 */
.uploadify-button {
    border: 1px solid #F3EEEE;
    background-color:rgba(102, 174, 236, 0.91);
    line-height: 30px;
    border-radius: 4px;
    font-size: 15px;
}

.uploadify-button:hover {
    background-color:#EF5959; 
}
.rowStyle{
	background-color: red;
}
.validatebox-readonly{
	/*background-color: rgba(208, 206, 206, 0.37);*/
}
#scfyqd label{
	display:inline-block; 
	width:70px;
	padding:5px 0 5px 10px;
}
#scfyqd div{

	padding:5px 0 5px 0px;
}


</style>

<div id="toolSycyMes">    

<table>
<tr>



<td>
		<?php if(authCheck1('Home/Scfy/import')): ?><a href="#" id= "aaa1" class="easyui-linkbutton"  onclick='show_add_scfy()' data-options="iconCls:'icon-standard-folder-page',plain:true">批量导入</a><?php endif; ?>
	    <?php if(authCheck1('Home/Scfy/importjs')): ?><a href="#" id= "aaa1s" class="easyui-linkbutton"  onclick='jsAddScfy()' data-options="iconCls:'icon-standard-folder-page',plain:true">计生导入</a><?php endif; ?>
	  <!--   <?php if(authCheck1('Home/Scfy/clear')): ?><a href="#" class="easyui-linkbutton"  onclick='scfyClear()' data-options="iconCls:'icon-standard-page-white-delete',plain:true">清空</a><?php endif; ?>
	    <?php if(authCheck1('Home/Scfy/edit')): ?><a href="#" class="easyui-linkbutton"  onclick='showScfyEdit()' data-options="iconCls:'icon-standard-application-edit',plain:true">编辑</a><?php endif; ?> -->
	</td>
	<?php if(authCheck1('Home/Quality/add_quality,Home/Quality/del,Home/Quality/edit',1,1,'and')): ?><td>
	    	<div class="datagrid-btn-separator"></div>
		</td><?php endif; ?>


	   			  
<!-- <?php if(authCheck1('Home/Scfy/import')): ?>-->
<!-- 都能打印 ，不用权限-->
	<!-- <td>
		<a href="#"  class="easyui-linkbutton"  onclick='viewer()' data-options="iconCls:'icon-standard-printer',plain:true">打印</a>  
	</td>

	<td>
	     <div class="datagrid-btn-separator"></div>
	</td> -->
<!--<?php endif; ?> -->



 <td>
  装配计划：<input id="zpjh" name="zpjh" class="easyui-textbox" data-options="prompt:'请输入装配计划号'" style="width:150px"> 
上级计划号：<input id="jhhsyc" name="jhh" class="easyui-textbox" data-options="prompt:'请输入计生号'" style="width:150px"> 
流水号：<input id="lshsyc" name="lsh" class="easyui-textbox" data-options="prompt:'请输入流水号'" style="width:150px">

	  <a href="#" class="easyui-linkbutton"  onclick="searchSycyMes()" data-options="iconCls:'icon-search',plain:'true'">搜索</a> 
   </td>
   <td>
     <div class="datagrid-btn-separator"></div>
 </td>

 <?php if(authCheck1('Home/Scfy/out')): ?><td>

	        <a href="#" id= "aaa1" class="easyui-linkbutton"  onclick='daochuzp()' data-options="iconCls:'icon-standard-page-white-excel',plain:true">导出装配</a> 
	  
	 </td>
   <td>
     <div class="datagrid-btn-separator"></div>
 </td><?php endif; ?>
   <td>

	  <a href="#" class="easyui-linkbutton"  onclick="reloadscfy()" data-options="iconCls:'icon-standard-arrow-refresh',plain:true">刷新</a> 

   </td>
   		 <td>
     <div class="datagrid-btn-separator"></div>
 </td>



</tr>

</table>





</div>


<div id="toolsycyList">
	
<table>
<tr>



<td>
		
	    <?php if(authCheck1('Home/Scfy/clear')): ?><a href="#" class="easyui-linkbutton"  onclick='scfyClear()' data-options="iconCls:'icon-standard-page-white-delete',plain:true">清空</a><?php endif; ?>
	    <?php if(authCheck1('Home/Scfy/edit')): ?><a href="#" class="easyui-linkbutton"  onclick='showScfyEdit()' data-options="iconCls:'icon-standard-application-edit',plain:true">编辑</a><?php endif; ?>
	     <?php if(authCheck1('Home/Scfy/del')): ?><a href="#" class="easyui-linkbutton"  onclick='ScfyDel()' data-options="iconCls:'icon-standard-delete',plain:true">删除</a><?php endif; ?>
	     <?php if(authCheck1('Home/Scfy/add')): ?><a href="#" class="easyui-linkbutton"  onclick='showScfyAdd()' data-options="iconCls:'icon-standard-application-add',plain:true">添加</a><?php endif; ?>
	</td>
	<?php if(authCheck1('Home/Quality/add_quality,Home/Quality/del,Home/Quality/edit',1,1,'and')): ?><td>
	    	<div class="datagrid-btn-separator"></div>
		</td><?php endif; ?>


	   			  

	<td>
		<a href="#"  class="easyui-linkbutton"  onclick='viewer()' data-options="iconCls:'icon-standard-printer',plain:true">打印</a> 
		<a href="#"  class="easyui-linkbutton"  onclick='viewerJun()' data-options="iconCls:'icon-standard-printer-empty',plain:true">打印为军车格式</a>  
		<a href="#"  class="easyui-linkbutton"  onclick='viewertf()' data-options="iconCls:'icon-standard-printer',plain:true">TF打印</a> 
		<a href="/solve/Public/scfy.xls"  class="easyui-linkbutton"   data-options="iconCls:'icon-standard-down',plain:true">下载模板</a>  
	</td>







  
  



</tr>

</table>
</div>
<!-- 编辑 -->
<div id="editScfy" class="easyui-dialog" style="width:335px; height: 212px;padding: 10px 50px; overflow:hidden;" title="&nbsp;&nbsp;编辑随车发运" data-options="iconCls:'icon-standard-folder-page',buttons:'#dlg-scfyedit',closed:true,resizable:false,modal:true,closable:true">
    <form id="editScfy_form" method="post">
     <input type="hidden" id="id" name="id"/>
	    	<table cellpadding="5">
	    		<tr>
	    			<td>放置环节:</td>
	    			<td><input class="easyui-textbox" type="text" id="dw" name="dw" data-options="required:true,prompt:'请输入放置环节'"  ></input></td>
	    		</tr>
	    		<tr>
	    			<td>零件号:</td>
	    			<td><input class="easyui-textbox" type="text" id="ljh" name="ljh" data-options="required:true,prompt:'请输入零件号'" ></input></td>
	    		</tr>
	    		<tr>
	    			<td>零件名称:</td>
	    			<td><input class="easyui-textbox" type="text" id="mc" name="mc" data-options="required:true,prompt:'请输入零件名称'" ></input></td>
	    		</tr>
	    		<tr>
	    			<td>数量:</td>
	    			<td><input class="easyui-numberbox" type="text" id="sl" name="sl" data-options="required:true,min:0" ></input></td>
	    		</tr>
	    	</table>
    </form>
</div>
<div id="dlg-scfyedit">
    <!-- <div class="tool_tip">只有自己发布的装配问题记录才能进行编辑！！</div> -->
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="editScfy()">确认</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#editScfy').dialog('close')">取消</a>
</div>
<!-- 添加 -->
<div id="AddScfy" class="easyui-dialog" style="width:335px; height: 212px;padding: 10px 50px; overflow:hidden;" title="&nbsp;&nbsp;添加随车发运" data-options="iconCls:'icon-standard-folder-page',buttons:'#dlg-scfyedit',closed:true,resizable:false,modal:true,closable:true">
    <form id="AddScfy_form" method="post">
     <input type="hidden" id="id" name="id"/>
     <input type="hidden" id="Addsjjhh" name="sjjhh"/>
	    	<table cellpadding="5">
	    		<tr>
	    			<td>放置环节:</td>
	    			<td><input class="easyui-textbox" type="text" id="Adddw" name="dw" data-options="required:true,prompt:'请输入放置环节'"  ></input></td>
	    		</tr>
	    		<tr>
	    			<td>零件号:</td>
	    			<td><input class="easyui-textbox" type="text" id="Addljh" name="ljh" data-options="required:true,prompt:'请输入零件号'" ></input></td>
	    		</tr>
	    		<tr>
	    			<td>零件名称:</td>
	    			<td><input class="easyui-textbox" type="text" id="Addmc" name="mc" data-options="required:true,prompt:'请输入零件名称'" ></input></td>
	    		</tr>
	    		<tr>
	    			<td>数量:</td>
	    			<td><input class="easyui-numberbox" type="text" id="Addsl" name="sl" data-options="required:true,min:0" ></input></td>
	    		</tr>
	    	</table>
    </form>
</div>
<div id="dlg-scfyedit">
    <!-- <div class="tool_tip">只有自己发布的装配问题记录才能进行编辑！！</div> -->
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="ScfyAdd()">确认</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#AddScfy').dialog('close')">取消</a>
</div>

<div id="add_scfy" class="easyui-dialog" style="width: 728px; height: 130px; padding: 0px; overflow: hidden;" title="&nbsp;&nbsp;导入随车发运清单" data-options="iconCls:'icon-standard-folder-page',buttons:'#dlg-add-scfy',closed:true,resizable:false,modal:true,closable:true">
			<div id="url-scfy">
			</div>
			<input type="hidden" name="urltext" class="form-control" id='urltext-scfy' value="" />
		</div>
		<div id="dlg-add-scfy">
		
			<div class="tool_tip">
				选择文件后系统会自动上传！！
			</div>
			<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#add_scfy').dialog('close')">取消</a>
</div>

<div id="jsAddScfy" class="easyui-dialog" style="width: 728px; height: 130px; padding: 0px; overflow: hidden;" title="&nbsp;&nbsp;导入随车发运清单" data-options="iconCls:'icon-standard-folder-page',buttons:'#dlg-add-scfy',closed:true,resizable:false,modal:true,closable:true">
			<div id="url-jsscfy">
			</div>
			<input type="hidden" name="urltextjs" class="form-control" id='urltext-scfy' value="" />
		</div>
		<div id="dlg-add-scfy">
		
			<div class="tool_tip">
				选择文件后系统会自动上传！！
			</div>
			<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#jsAddScfy').dialog('close')">取消</a>
</div>


<div class="easyui-layout" data-options="fit:true,border:false">     
    <div data-options="region:'center',title:'',border:false" style="padding:5px;background:#eee;">
    	<table id="sycyMes"></table>
    </div>
    <div data-options="region:'south',title:'随车发运清单',split:true,border:false,hideCollapsedContent:false" style="height:300px;">
    	<table id="sycyList"></table>
    </div>    
</div>

<script>
	$('#sycyMes').datagrid({
	url : '/solve/index.php/Home/Scfy/syfyMes',
	toolbar : '#toolSycyMes',
	pagination : true,
	fit : true,
	width : function() {
		return document.body.clientWidth * 0.9
	},
	nowrap : true,
	collapsible : true,
	fitColumns : true,
	autoRowHeight : true,
	striped : true,//交替行
	singleSelect : true,//只允许选择一行
	rownumbers : true,
	border : false,
	sortName : 'jhh',
	sortOrder : 'desc',//倒序排列
	remoteSort : false,
	pageSize : 50,
	method : "post",
	pageList : [ 20, 40, 50, 100, 200,500 ],
	columns : [ [
			{
				field : 'id',
				checkbox : true
			},{
				field : 'jhh',
				title : '装配计划',
				width : 150,
				align : 'left'
				
			},{
				field : 'sjjhh',
				title : '计生号',
				width : 150,
				align : 'left'
				
			},{
				field : 'lshqj',
				title : '流水号区间',
				width : 150,
				align : 'left'
				
			},{
				field : 'htxh',
				title : '合同小号',
				width : 150,
				hidden:true
				
			},{
				field : 'lsh',
				title : '流水号',
				hidden:true
				
			},{
				field : 'zwh',
				title : '任务号',
				hidden:true
				
			},{
				field : 'sl',
				title : '数量',
				width : 50,
				align : 'left'
			},{
				field : 'scfy',
				title : '随车发运',
				width : 60,
				align : 'center',
				formatter: function(value,row,index){
					var mes="";
					if(value>0){
						mes='<span style="color:#129E23;font-weight: bold;">是('+value+')</span>';
						if(value>15){
							mes='<span style="color:#EFB110;font-weight: bold;">是('+value+')</span>';
						}
					}else{
						mes='<span style="color:red;">否</span>';
					}
					return mes;
				}},{
				field : 'cjpz',
				title : '计划描述',
				width : 300,
				align : 'left'				
			}
	] ],
	  onDblClickRow: function (rowIndex, rowData) { 
	  },
	    onSelect:function(index,row){

$('#sycyList').datagrid('load',{

			 jhh:row.sjjhh

 });



    }
});

$('#sycyList').datagrid({
	url : '/solve/index.php/Home/Scfy/read',
 toolbar :'#toolsycyList',
	pagination : true,
	fit : true,
	width : function() {
		return document.body.clientWidth * 0.9
	},
	nowrap : true,//
	collapsible : true,
	fitColumns : true,
	autoRowHeight : true,
	striped : true,//交替行
	singleSelect : true,//只允许选择一行
	rownumbers : true,
	border : false,
	sortName : 'id',
	sortOrder : 'asc',//倒序排列
	remoteSort : false,
	pageSize : 50,
	method : "post",
	pageList : [ 20, 40, 50, 100, 200,500 ],
	columns : [ [
			{
				field : 'id',
				checkbox : true
			},{
				width : 60,
				field : 'dw',
				title : '放置环节'
				
			},{
				field : 'ljh',
				title : '零件号',
				width : 100,
				align : 'left'
				
			},{
				field : 'mc',
				title : '零件名称',
				width : 60,
				align : 'left'
				
			},{
				field : 'sjjhh',
				title : '计生号',
				align : 'left',
				hidden:true
				
			},{
				field : 'cx',
				title : '车型',
				align : 'left',
				hidden:true
				
			},{
				field : 'sl',
				title : '数量',
				width : 20,
				align : 'left'
				
			}





	] ],
	onDblClickRow: function (rowIndex, rowData) { 
	},
	onSelect:function(index,row){






    }
});

/**
 * [searchSycyMes MES随车发运搜索]
 * @param  {[type]} jhh [description]
 * @return {[type]}     [description]
 */
function searchSycyMes(jhh){
		$('#sycyMes').datagrid('load',{
 jhh:$('#zpjh').textbox('getText'),
			 sjjhh:$('#jhhsyc').textbox('getText'),
			 lsh:$('#lshsyc').textbox('getText')

			 });
}

/**
 * [viewer 显示打印预览页面]
 * @return {[type]} [description]
 */
   function viewer(){
 	var tf='';
	var row = $('#sycyMes').datagrid("getSelected");
		if (row) {
			if(row.scfy=="否"){
$.messager.alert("没有导入", "此计生号车辆还没有导入随车发运附件，请及时联系工艺科进行导入！83388352", "info");
			}else{
					  	  // 获取当前tab
    var tab = $('#tab').tabs('getSelected'); 

    tab.panel('refresh', '/solve/index.php/Home/Scfy/scfyVier?sjjhh='+encodeURI(row.sjjhh)+'&lshqj='+encodeURI(row.lshqj)+'&isJun=0'+'&rwh='+row.zwh+'&tf='+tf);

			}

		} else {
			$.messager.alert("请选择", "请选择要打印计生号一行数据", "info");
		}

	}
  function viewertf(){

	var row = $('#sycyMes').datagrid("getSelected");
		if (row) {

			 var tf=row.lshqj;
			if(row.scfy=="否"){
$.messager.alert("没有导入", "此计生号车辆还没有导入随车发运附件，请及时联系工艺科进行导入！83388352", "info");
			}else{
					  	  // 获取当前tab
    var tab = $('#tab').tabs('getSelected'); 

    tab.panel('refresh', '/solve/index.php/Home/Scfy/scfyVier?sjjhh='+encodeURI(row.sjjhh)+'&lshqj='+encodeURI(row.lshqj)+'&isJun=0'+'&rwh='+row.zwh+'&tf='+tf);

			}

		} else {
			$.messager.alert("请选择", "请选择要打印计生号一行数据", "info");
		}

	}


   function viewerJun(){
 
	var row = $('#sycyMes').datagrid("getSelected");
		if (row) {
			if(row.scfy=="否"){
$.messager.alert("没有导入", "此计生号车辆还没有导入随车发运附件，请及时联系工艺科进行导入！83388352", "info");
			}else{
					  	  // 获取当前tab
    var tab = $('#tab').tabs('getSelected'); 

    tab.panel('refresh', '/solve/index.php/Home/Scfy/scfyVier?sjjhh='+encodeURI(row.sjjhh)+'&lshqj='+encodeURI(row.lshqj)+'&isJun=1'+'&rwh='+row.zwh);
 
			}

		} else {
			$.messager.alert("请选择", "请选择要打印计生号一行数据", "info");
		}

	}
	

	/**
 * [showScfyEdit 显示编辑窗口]
 * @return {[type]} [description]
 */
function showScfyEdit(){
var row = $('#sycyList').datagrid("getSelected");

		if (row) {

			$("#editScfy").dialog("open").dialog('setTitle', '&nbsp;&nbsp;编辑随车发运');

			$("#editScfy_form").form("load", row);

		

			

		} else {
			$.messager.alert("请选择要编辑的行", "请选择要编辑的行！", "info");
		}
}

function editScfy(){
		$('#editScfy_form').form('submit', {
			type:'POST',
			 url : '/solve/index.php/Home/Scfy/edit',
			success : function(data) {
				var data = eval('(' + data + ')');
				$('#editScfy').dialog('close')
				$("#sycyList").datagrid("reload");
				$.messager.alert('编辑质量信息', data.data, 'info');
				// 

			}
		});
}
// 显示导入窗口
function show_add_scfy(){
    $('#add_scfy').window('open');
}
// 显示计生导入窗口
function jsAddScfy(){
	$('#jsAddScfy').window('open');
}
/**
 * [scfyClear 清空当前计生号随车发运数据]
 * @return {[type]} [description]
 */
function scfyClear(){
		var row = $('#sycyMes').datagrid("getSelected");

			if (row) {
				$.messager.confirm('确认', '您确定要清空 '+row.sjjhh+' 的随车发运件吗?', function(r) {
					if (r) {
						$.post('/solve/index.php/Home/Scfy/clear', {
							sjjhh : row.sjjhh
						}, function(data) {
							if (data.status==1) {
								$.messager.alert('清空', data.data, 'info');
								$("#sycyMes").datagrid("reload");
								$("#sycyList").datagrid("reload");
								
							} else {
								$.messager.show({ // show error message  
									title : '错误',
									msg : data.data
								});

							}
						}, 'json');
					}
				});
			} else {
				$.messager.alert("请选择", "请选择包含要清空计生号的一行数据！", "info");
			}

}
//上传

$('#url-scfy').Huploadify({
    auto: true,//是否开启自动上传
    fileTypeExts: '*.xls',
    multi: false,//是否允许选择多个文件
    //formData:{key:123456,key2:'vvvv'},
    fileSizeLimit: 21024,//允许上传的文件大小，单位KB
    showUploadedPercent: true,//是否实时显示上传的百分比，如20%
    showUploadedSize: true,//是否实时显示已上传的文件大小，如1M/2M
    removeTimeout: 1000,//上传完成后进度条的消失时间，单位毫秒
    uploader: '/solve/index.php/Home/scfy/import',//文件提交的地址
    buttonText: '导入随车发运',//上传按钮上的文字
    onUploadStart: function(file){
        // console.log(file.name + '开始上传');
    },
    onInit: function(obj){
        // console.log('初始化');
        // console.log(obj);
    },
    onUploadComplete: function(fileObj, data, response){
        fileN = fileObj.name;
        fileSize = fileObj.size;
        fileType = fileObj.type;
        document.getElementById("urltext-scfy").value = fileN;
        //          document.getElementById("name").value = fileN;
        //          $("#name")[0].focus();
        // console.log(fileObj.name + '上传完成');
        reloadscfy();
        $('#add_scfy').window('close');
         var data = eval('(' + data + ')');
        // console.log(data.data);
        if(data.status==1){

        	// 刷新公告datagrid
        	
        	// $('#announcement').datagrid('reload');
        	$.messager.alert('导入成功', data.data, 'info');



        }else{
        	$.messager.alert('导入失败', data.data, 'info');
        }
    }
    });
//单批次计生导入
$('#url-jsscfy').Huploadify({
    auto: true,//是否开启自动上传
    fileTypeExts: '*.xls',
    multi: false,//是否允许选择多个文件
    //formData:{key:123456,key2:'vvvv'},
    fileSizeLimit: 21024,//允许上传的文件大小，单位KB
    showUploadedPercent: true,//是否实时显示上传的百分比，如20%
    showUploadedSize: true,//是否实时显示已上传的文件大小，如1M/2M
    removeTimeout: 1000,//上传完成后进度条的消失时间，单位毫秒
    uploader: '/solve/index.php/Home/scfy/importjs',//文件提交的地址
    buttonText: '导入随车发运',//上传按钮上的文字
    onUploadStart: function(file){
        // console.log(file.name + '开始上传');
    },
    onInit: function(obj){
        // console.log('初始化');
        // console.log(obj);
    },
    onUploadComplete: function(fileObj, data, response){
        fileN = fileObj.name;
        fileSize = fileObj.size;
        fileType = fileObj.type;
        document.getElementById("url-jsscfy").value = fileN;
        //          document.getElementById("name").value = fileN;
        //          $("#name")[0].focus();
        // console.log(fileObj.name + '上传完成');
        reloadscfy();
        $('#jsAddScfy').window('close');
         var data = eval('(' + data + ')');
        // console.log(data.data);
        if(data.status==1){

        	// 刷新公告datagrid
        	
        	// $('#announcement').datagrid('reload');
        	$.messager.alert('导入成功', data.data, 'info');



        }else{
        	$.messager.alert('导入失败', data.data, 'info');
        }
    }
    });
  // 刷新a
  function reloadscfy() {
		$('#sycyMes').datagrid('reload', {   
		    sjjhh: '' 
		});
	}
	function ScfyDel(){
			var row = $('#sycyList').datagrid("getSelected");
	
			if (row) {
				$.messager.confirm('确认', '您确定要删除此随车附件吗?', function(r) {
					if (r) {
						$.post('/solve/index.php/Home/scfy/del', {
							id : row.id
						}, function(data) {
							if (data.status==1) {
								$.messager.alert('删除项目', data.data, 'info');
								$("#sycyList").datagrid("reload");
							} else {
								$.messager.show({ // show error message  
									title : '错误',
									msg : data.data
								});

							}
						}, 'json');
					}
				});
			} else {
				$.messager.alert("请选择", "请选择要删除的随车附件！", "info");
			}

		
	}
	function showScfyAdd(){
		var row = $('#sycyMes').datagrid("getSelected");
	
			if (row) {
				$("#Addsjjhh").val(row.sjjhh);
				$('#AddScfy').window('open');
			}else{
				$.messager.alert('选择', "请选择要添加随车附件的计生号", 'info');
			}
		
	}
	function ScfyAdd(){
			$('#AddScfy_form').form('submit', {
			url: '/solve/index.php/Home/Scfy/add',
			success: function(data) {
				var data = eval('(' + data + ')');
				if(data.status==1){
					
					$("#sycyList").datagrid("reload");
					$.messager.alert('添加随车发运附件', data.data, 'info');
					$('#AddScfy').dialog('close')
				}else{
						$.messager.alert('添加随车发运附件', data.data, 'info');
				}
			

			}
		});
	}

/**	
/*导出装配计划
*/
	function daochuzp(){
		var grid = $('#sycyMes');  
		var options = grid.datagrid('getPager').data("pagination").options; 
		var pageNumber = options.pageNumber;  
		var pageSize=options.pageSize; 
		window.location.href='/solve/index.php/Home/Scfy/out/page/'+pageNumber+'/pagesize/'+pageSize;	
	}
</script>